local Vector3 = {}

function Vector3.new(x, y, z)
    return CS.UnityEngine.Vector3(x, y, z)
end

function Vector3.lerp(vec1, vec2, r)
    return CS.UnityEngine.Vector3.Lerp(vec1, vec2, r)
end

function Vector3.equal(vec1, vec2)
    if vec1.x == vec2.x and vec1.y == vec2.y and vec1.z == vec2.z then
        return true
    end
    return false
end

function Vector3.distance(vec1, vec2)
    return math.sqrt(
        (vec1.x - vec2.x) * (vec1.x - vec2.x) + (vec1.y - vec2.y) * (vec1.y - vec2.y) +
            (vec1.z - vec2.z) * (vec1.z - vec2.z)
    )
end

Vector3.up = CS.UnityEngine.Vector3.up

Vector3.left = CS.UnityEngine.Vector3.left

Vector3.right = CS.UnityEngine.Vector3.right

Vector3.zero = CS.UnityEngine.Vector3.zero

return Vector3
